const { http } = uni.$u

//查询列表
export const getShop = data => http.get('/app-api/mini/products/list',{data})
// 查询详情
export const getDetail = data => http.get('/app-api/mini/products/get',{data})
// 立即申请/只能匹配
export const applyForProduct = data => http.post('/app-api/mini/u/eval/my/applyForProduct', data )
//手动马上测额度
export const mustTest = data => http.get('/app-api/mini/u/eval/my/optional/test', {data} )
//智能马上测额度
export const intelligenceTest = data => http.get('/app-api/mini/u/eval/my/test', {data} )
//查看规划方案
export const seeMyLimit = data => http.get('/app-api/mini/u/eval/my/limit', {data} )
//去申请
export const toApply = data => http.post('/app-api/mini/u/eval/my/applyForProduct', data )
//订单设置业务员
export const allocationAgent = data => http.post('/app-api/mini/allocationAgent', data )
//获取用户已添加资产
export const toProperty = data => http.get('/app-api/mini/my/property', {data} )

//检查资料是否已填写

export const checkUserData = params => http.get('/app-api/mini/my/checkUserData', { params })